#include "Light.h"
#include "RenderContext.h"

namespace egg{

    Light::Light(LightType _type){
        mType=_type;
        mCastShadow=false;
    }

    void Light::activate(RenderContext& _context){
        gGPUParamGroup->mLightColor->set(mColor);
        gGPUParamGroup->mLightType->set(mType);
    }

}